﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 小型活动(考试)
    /// </summary>
    public class EM_Activitie
    { 
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ID { get; set; }
        /// <summary>
        /// 期中考试
        /// </summary>
        [Required]
        [StringLength(11)]
        public string? Examination { get; set; }
        /// <summary>
        /// 期末考试
        /// </summary>
        [Required]
        [StringLength(11)]
        public string? Finalexam { get; set; }
        /// <summary>
        /// 考试时间
        /// </summary>
        public DateTime Examtime { get; set; }
        /// <summary>
        /// 学生考试考场安排情况
        /// </summary>
        [Required]
        [StringLength(11)]
        public string? Examclass { get; set; }
        /// <summary>
        /// 监考老师安排人员名单
        /// </summary>
        [Required]
        [StringLength(11)]
        public string? Invigilate { get; set; }
        /// <summary>
        /// 考试科目安排
        /// </summary>
        [Required]
        [StringLength(20)]
        public string? subject { get; set; }

    }
}
